package com.example.new8.entity;

import java.util.List;

public class Weather {
    private int code ;
    private Result result ;
    private String msg ;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public Result getResult() {
        return result;
    }

    public void setResult(Result result) {
        this.result = result;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public static class Result {
        // 定义一个字符串变量用于存储警报信息
        private List<Alert> alert ;

        // 定义一个整型变量用于存储空气质量指数
        private int aqi ;

        // 定义一个字符串变量用于存储城市名称
        private String city_name ;

        // 定义一个字符串变量用于存储当前天气状况
        private String current_condition ;

        // 定义一个整型变量用于存储当前温度
        private int current_temperature ;

        // 定义一个整型变量用于存储当前时间
        private int current_time ;

        // 定义一个字符串变量用于存储天气状况描述
        private String dat_condition ;

        // 定义一个整型变量用于存储当日最高温度
        private int dat_high_temperature ;

        // 定义一个整型变量用于存储当日最低温度
        private int dat_low_temperature ;

        // 定义一个字符串变量用于存储白天天气图标ID
        private String day_weather_icon_id ;

        // 定义一个字符串变量用于存储白天天气状况
        private String day_condition ;

        // 定义一个整型变量用于存储下载的图标ID（用途不明确）
        private int download_icon ;

        // 定义一个List集合用于存储天气预报列表
        private List<ForecastList> forecast_list ;

        // 定义一个整型变量用于存储最高温度
        private int high_temperature ;

        // 定义一个List集合用于存储小时天气预报
        private List<HourlyForecast> hourly_forecast ;

        // 定义一个整型变量用于存储最低温度
        private int low_temperature ;

        // 定义一个整型变量用于存储墨迹城市ID
        private int moji_city_id ;

        // 定义一个字符串变量用于存储夜间天气状况
        private String night_condition ;

        // 定义一个字符串数组用于存储原始数据
        private String[] origin_data ;

        // 定义一个字符串变量用于存储空气质量级别
        private String quality_level ;

        // 定义一个字符串变量用于存储提示信息
        private String tips ;

        // 定义一个整型变量用于存储明天的空气质量指数
        private int tomorrow_aqi ;

        // 定义一个字符串变量用于存储明天天气状况
        private String tomorrow_condition ;

        // 定义一个整型变量用于存储明天的最高温度
        private int tomorrow_high_temperature ;

        // 定义一个整型变量用于存储明天的最低温度
        private int tomorrow_low_temperature ;

        // 定义一个字符串变量用于存储明天的空气质量级别
        private String tomorrow_quality_level ;

        // 定义一个字符串变量用于存储明天天气图标ID
        private String tomorrow_weather_icon_id ;

        // 定义一个字符串变量用于存储更新时间
        private String update_time ;

        // 定义一个字符串变量用于存储天气图标ID
        private String weather_icon_id ;

        // 定义一个字符串变量用于存储风向
        private String wind_direction ;

        // 定义一个字符串变量用于存储风力级别
        private String wind_level ;

        public List<Alert> getAlert() {
            return alert;
        }

        public void setAlert(List<Alert> alert) {
            this.alert = alert;
        }

        public int getAqi() {
            return aqi;
        }

        public void setAqi(int aqi) {
            this.aqi = aqi;
        }

        public String getCity_name() {
            return city_name;
        }

        public void setCity_name(String city_name) {
            this.city_name = city_name;
        }

        public String getCurrent_condition() {
            return current_condition;
        }

        public void setCurrent_condition(String current_condition) {
            this.current_condition = current_condition;
        }

        public int getCurrent_temperature() {
            return current_temperature;
        }

        public void setCurrent_temperature(int current_temperature) {
            this.current_temperature = current_temperature;
        }

        public int getCurrent_time() {
            return current_time;
        }

        public void setCurrent_time(int current_time) {
            this.current_time = current_time;
        }

        public String getDat_condition() {
            return dat_condition;
        }

        public void setDat_condition(String dat_condition) {
            this.dat_condition = dat_condition;
        }

        public int getDat_high_temperature() {
            return dat_high_temperature;
        }

        public void setDat_high_temperature(int dat_height_temperature) {
            this.dat_high_temperature = dat_height_temperature;
        }

        public int getDat_low_temperature() {
            return dat_low_temperature;
        }

        public void setDat_low_temperature(int dat_low_temperature) {
            this.dat_low_temperature = dat_low_temperature;
        }

        public String getDay_weather_icon_id() {
            return day_weather_icon_id;
        }

        public void setDay_weather_icon_id(String day_weather_icon_id) {
            this.day_weather_icon_id = day_weather_icon_id;
        }

        public String getDay_condition() {
            return day_condition;
        }

        public void setDay_condition(String day_condition) {
            this.day_condition = day_condition;
        }

        public int getDownload_icon() {
            return download_icon;
        }

        public void setDownload_icon(int download_icon) {
            this.download_icon = download_icon;
        }

        public List<ForecastList> getForecast_list() {
            return forecast_list;
        }

        public void setForecast_list(List<ForecastList> forecast_list) {
            this.forecast_list = forecast_list;
        }

        public int getHigh_temperature() {
            return high_temperature;
        }

        public void setHigh_temperature(int high_temperature) {
            this.high_temperature = high_temperature;
        }

        public List<HourlyForecast> getHourly_forecast() {
            return hourly_forecast;
        }

        public void setHourly_forecast(List<HourlyForecast> hourly_forecast) {
            this.hourly_forecast = hourly_forecast;
        }

        public int getLow_temperature() {
            return low_temperature;
        }

        public void setLow_temperature(int low_temperature) {
            this.low_temperature = low_temperature;
        }

        public int getMoji_city_id() {
            return moji_city_id;
        }

        public void setMoji_city_id(int moji_city_id) {
            this.moji_city_id = moji_city_id;
        }

        public String getNight_condition() {
            return night_condition;
        }

        public void setNight_condition(String night_condition) {
            this.night_condition = night_condition;
        }

        public String[] getOrigin_data() {
            return origin_data;
        }

        public void setOrigin_data(String[] origin_data) {
            this.origin_data = origin_data;
        }

        public String getQuality_level() {
            return quality_level;
        }

        public void setQuality_level(String quality_level) {
            this.quality_level = quality_level;
        }

        public String getTips() {
            return tips;
        }

        public void setTips(String tips) {
            this.tips = tips;
        }

        public int getTomorrow_aqi() {
            return tomorrow_aqi;
        }

        public void setTomorrow_aqi(int tomorrow_aqi) {
            this.tomorrow_aqi = tomorrow_aqi;
        }

        public String getTomorrow_condition() {
            return tomorrow_condition;
        }

        public void setTomorrow_condition(String tomorrow_condition) {
            this.tomorrow_condition = tomorrow_condition;
        }

        public int getTomorrow_high_temperature() {
            return tomorrow_high_temperature;
        }

        public void setTomorrow_high_temperature(int tomorrow_high_temperature) {
            this.tomorrow_high_temperature = tomorrow_high_temperature;
        }

        public int getTomorrow_low_temperature() {
            return tomorrow_low_temperature;
        }

        public void setTomorrow_low_temperature(int tomorrow_low_temperature) {
            this.tomorrow_low_temperature = tomorrow_low_temperature;
        }

        public String getTomorrow_quality_level() {
            return tomorrow_quality_level;
        }

        public void setTomorrow_quality_level(String tomorrow_quality_level) {
            this.tomorrow_quality_level = tomorrow_quality_level;
        }

        public String getTomorrow_weather_icon_id() {
            return tomorrow_weather_icon_id;
        }

        public void setTomorrow_weather_icon_id(String tomorrow_weather_icon_id) {
            this.tomorrow_weather_icon_id = tomorrow_weather_icon_id;
        }

        public String getUpdate_time() {
            return update_time;
        }

        public void setUpdate_time(String update_time) {
            this.update_time = update_time;
        }

        public String getWeather_icon_id() {
            return weather_icon_id;
        }

        public void setWeather_icon_id(String weather_icon_id) {
            this.weather_icon_id = weather_icon_id;
        }

        public String getWind_direction() {
            return wind_direction;
        }

        public void setWind_direction(String wind_direction) {
            this.wind_direction = wind_direction;
        }

        public String getWind_level() {
            return wind_level;
        }

        public void setWind_level(String wind_level) {
            this.wind_level = wind_level;
        }

        public static class Alert{
            // 内容
            private String content ;
            // 信息id
            private int infoid ;
            // 级别
            private String level ;
            // 名称
            private String name ;
            // 标题
            private String title ;
            // 类型
            private String type ;
            // 更新时间
            private String update_time ;

            public String getContent() {
                return content;
            }

            public void setContent(String content) {
                this.content = content;
            }

            public int getInfoid() {
                return infoid;
            }

            public void setInfoid(int infoid) {
                this.infoid = infoid;
            }

            public String getLevel() {
                return level;
            }

            public void setLevel(String level) {
                this.level = level;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public String getType() {
                return type;
            }

            public void setType(String type) {
                this.type = type;
            }

            public String getUpdate_time() {
                return update_time;
            }

            public void setUpdate_time(String update_time) {
                this.update_time = update_time;
            }
        }

        public static class ForecastList {
            // 天气状况描述
            private String condition ;

            // 日期，表示天气预报的特定日期
            private String date ;

            // 最高温度，表示当天预测的最高气温
            private int high_temperature ;

            // 最低温度，表示当天预测的最低气温
            private int low_temperature ;

            // 天气图标ID，用于在用户界面显示相应的天气图标
            private String weather_icon_id ;

            // 风向，描述风力吹向的方向，如北、南、东、西等
            private String wind_direction ;

            // 风力等级，描述风力强度，如微风、强风等
            private String wind_level ;

            public String getCondition() {
                return condition;
            }

            public void setCondition(String condition) {
                this.condition = condition;
            }

            public String getDate() {
                return date;
            }

            public void setDate(String date) {
                this.date = date;
            }

            public int getHigh_temperature() {
                return high_temperature;
            }

            public void setHigh_temperature(int high_temperature) {
                this.high_temperature = high_temperature;
            }

            public int getLow_temperature() {
                return low_temperature;
            }

            public void setLow_temperature(int low_temperature) {
                this.low_temperature = low_temperature;
            }

            public String getWeather_icon_id() {
                return weather_icon_id;
            }

            public void setWeather_icon_id(String weather_icon_id) {
                this.weather_icon_id = weather_icon_id;
            }

            public String getWind_direction() {
                return wind_direction;
            }

            public void setWind_direction(String wind_direction) {
                this.wind_direction = wind_direction;
            }

            public String getWind_level() {
                return wind_level;
            }

            public void setWind_level(String wind_level) {
                this.wind_level = wind_level;
            }
        }

        public static class HourlyForecast {
            // 天气状况描述，用于表示当前天气情况的文本
            private String condition ;

            // 时间戳对应的小时，用于指示天气数据的时间点
            private String hour ;

            // 天气温度，以字符串形式表示，提供天气冷暖信息
            private String temperature ;

            // 天气图标ID，用于在用户界面显示相应的天气图标
            private String weather_icon_id ;

            // 风向描述，指示风的来向，如北、南、东、西等
            private String wind_direction ;

            // 风力等级，描述风的强度，用于气象预报和数据分析
            private String wind_level ;

            public String getCondition() {
                return condition;
            }

            public void setCondition(String condition) {
                this.condition = condition;
            }

            public String getHour() {
                return hour;
            }

            public void setHour(String hour) {
                this.hour = hour;
            }

            public String getTemperature() {
                return temperature;
            }

            public void setTemperature(String temperature) {
                this.temperature = temperature;
            }

            public String getWeather_icon_id() {
                return weather_icon_id;
            }

            public void setWeather_icon_id(String weather_icon_id) {
                this.weather_icon_id = weather_icon_id;
            }

            public String getWind_direction() {
                return wind_direction;
            }

            public void setWind_direction(String wind_direction) {
                this.wind_direction = wind_direction;
            }

            public String getWind_level() {
                return wind_level;
            }

            public void setWind_level(String wind_level) {
                this.wind_level = wind_level;
            }
        }
    }
}
